forcecell 2.2.0
Loading...
Searching...
No Matches
Force Cell Settings

Settings of Force Cell Click driver. More...

Macros

#define FORCECELL_R6_KOHM   2.7
 Force Cell force calculation setting.
#define FORCECELL_GAIN   ( ( 100 / FORCECELL_R6_KOHM ) + 1 )
#define FORCECELL_SENSITIVITY_V_V   0.025
#define FORCECELL_FULL_SCALE_N   30
#define FORCECELL_NUM_CONVERSIONS   100
 Force Cell default ADC samples number for averaging.
#define FORCECELL_TIMEOUT_MS   2000
 Force Cell timeout setting.
#define FORCECELL_ADC_RESOLUTION   0x0FFF
 Force Cell ADC setting.
#define FORCECELL_VREF_3V3   3.3
#define FORCECELL_VREF_5V   5.0
#define FORCECELL_VREF   FORCECELL_VREF_3V3
#define FORCECELL_SET_DEV_ADDR   0x4D
 Force Cell device address setting.

Detailed Description

Settings of Force Cell Click driver.

Macro Definition Documentation

◆ FORCECELL_ADC_RESOLUTION

#define FORCECELL_ADC_RESOLUTION   0x0FFF

Force Cell ADC setting.

Specified settings for ADC of Force Cell Click driver.

◆ FORCECELL_FULL_SCALE_N

#define FORCECELL_FULL_SCALE_N   30

◆ FORCECELL_GAIN

#define FORCECELL_GAIN   ( ( 100 / FORCECELL_R6_KOHM ) + 1 )

◆ FORCECELL_NUM_CONVERSIONS

#define FORCECELL_NUM_CONVERSIONS   100

Force Cell default ADC samples number for averaging.

Specified default ADC samples number for averaging of Force Cell Click driver.

◆ FORCECELL_R6_KOHM

#define FORCECELL_R6_KOHM   2.7

Force Cell force calculation setting.

Specified settings for force calculation of Force Cell Click driver.

◆ FORCECELL_SENSITIVITY_V_V

#define FORCECELL_SENSITIVITY_V_V   0.025

◆ FORCECELL_SET_DEV_ADDR

#define FORCECELL_SET_DEV_ADDR   0x4D

Force Cell device address setting.

Specified setting for device slave address selection of Force Cell Click driver.

◆ FORCECELL_TIMEOUT_MS

#define FORCECELL_TIMEOUT_MS   2000

Force Cell timeout setting.

Specified setting for timeout of Force Cell Click driver.

◆ FORCECELL_VREF

#define FORCECELL_VREF   FORCECELL_VREF_3V3

◆ FORCECELL_VREF_3V3

#define FORCECELL_VREF_3V3   3.3

◆ FORCECELL_VREF_5V

#define FORCECELL_VREF_5V   5.0